home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / makerelative.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  2.3 KB  |  73 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-56]
  2. [C;6;B]        MAKERELATIVE or MR
  3. [7]Default: nothing
  4. [J;1;N]
  5.   Only the commercial version will have this instruction fully \
  6. supported. Registred people will receive that version.
  7.  
  8.   Ask lk to transform, whenever possible, the RELOC32 in \
  9. a relative addressing mode. Of course only relocation \
  10. from one hunk to it-self will be transformed by this \
  11. function, making some executable files smaller.
  12.  
  13.   This instruction is also available for executable \
  14. programs only.
  15.  
  16.   To receive the WARNING which informs you about the \
  17. modified hunks, type 'WARNING 4'.
  18.  
  19. [C;5]BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG BUG
  20. [J;1]
  21.   This may create a lot of bugs... lk will check and suppose \
  22. that the word before the RELOC32 is an instruction (2 words \
  23. before for MOVEM.W/L and BTST.B.)
  24.   You should never use this instruction if you compiled \
  25. your program in 68020 mode, or when a lot of data appear \
  26. within the hunk of code. Usully the hunk of code contains \
  27. only code, right? And in any case, try your program \
  28. extensivly when you used that instruction to ensure it was \
  29. correct.
  30.   An instruction which uses a relocation for its second \
  31. operand (Destination) may create some errors.
  32.  
  33.   Note: if you only used RELOC32 for long branchements \
  34. (Also JSR and JMP,) you can use this function without \
  35. any trouble.
  36.  
  37.   Supported instructions:
  38. [R;5](Size field: ?=B,W,L/S=W,L)
  39. [J;2]      ADD.?     (x.L),Dn
  40.       ADDA.S    (x.L),An
  41.       AND.?     (x.L),Dn
  42.       BTST.B    #07,(x.L)
  43.       BTST.B    Dn,(x.L)
  44.       CHK.W     (x.L),Dn
  45.       CMP.?     (x.L),Dn
  46.       CMPA.S    (x.L),An
  47.       DIVU.W    (x.L),Dn
  48.       DIVS.W    (x.L),Dn
  49.       JMP       (x.L)
  50.       JSR       (x.L)
  51.       LEA.L     (x.L),An
  52.       MOVE.?    (x.L),Dn
  53.       MOVE.?    (x.L),(An)
  54.       MOVE.?    (x.L),(An)+
  55.       MOVE.?    (x.L),-(An)
  56.       MOVE.W    (x.L),CCR
  57.       MOVE.W    (x.L),SR
  58.       MOVEM.S   (x.L),reglist
  59.       MULU.W    (x.L),Dn
  60.       MULS.W    (x.L),Dn
  61.       OR.?      (x.L),Dn
  62.       PEA.L     (x.L)
  63.       SUB.?     (x.L),Dn
  64.       SUBA.S    (x.L),An
  65. [1]where the field (x.L) become (d16,PC).
  66.  
  67.   See also:
  68. [L;3][LINK alv]                ALV
  69. [LINK anyrelative]            ANYRELATIVE
  70. [LINK nowarning]            NOWARNING
  71. [LINK warning]                WARNING
  72. [5; LINK about; GOTO address]        Become Registred
  73.